package ioc;

public class MoAttack {

    private LiuDeHua liuDeHua;

    public MoAttack(LiuDeHua liuDeHua) {
        this.liuDeHua = liuDeHua;
    }

    public void setLiuDeHua(LiuDeHua liuDeHua) {
        this.liuDeHua = liuDeHua;
    }

    public void cityGateAsk(){
        System.out.println("来者何人");
        liuDeHua.responseAsk("墨者隔离");
    }
}
